package com.cyy.prototype_pattern.deep_clone;

/**
 * 深克隆
 */
public class Hong implements Cloneable{
    //虹猫的灵魂状态
    private String lh;

    public Hong() {
    }

    public Hong(String lh) {
        this.lh = lh;
    }

    public Hong clone() throws CloneNotSupportedException {
        return (Hong) super.clone();
    }

    public String getLh() {
        return lh;
    }

    public void setLh(String lh) {
        this.lh = lh;
    }
}
